package com.weidft.dal.warehouse.dao;

import java.util.List;

import com.weidft.dal.warehouse.daoobject.ChangkuChuDO;
import com.weidft.dal.warehouse.daoobject.ChangkuRuDO;

public interface ICangkuDao
{
    ChangkuRuDO getChangkuRuById(int id);
    
    int saveChangkuRu(ChangkuRuDO ru);
    
    void updateChangkuRu(ChangkuRuDO ru);
    
    void deleteChangkuRu(int id);

    Integer countCangKuRu(ChangkuRuDO ru);

    List<ChangkuRuDO> listCangKuRu(ChangkuRuDO ru);

    Integer countCangKuChu(ChangkuChuDO chu);

    List<ChangkuChuDO> listCangKuChu(ChangkuChuDO chu);

    ChangkuChuDO getchangkuChuByid(int id);

    int saveChangkuChu(ChangkuChuDO chu);

    void updateChangkuChu(ChangkuChuDO chu);

    void deleteChangkuChu(int id);

    void updateAmount(int ruId, float num);

    int getchangkuruMaxId();

    int getchangkuchuMaxId();
}
